<script type="text/javascript" src="<?php echo base_url();?>assets/js/login-validation.js"></script>

<div id = "login-area-bg">
	<div id = "login-area">
		<h2><img src = "<?php echo base_url(); ?>assets/images/login-h2.png" alt = "" /></h2>
		<div class = "log-error" style="<?php echo empty($error)	?	'display:none;'	:	null; ?>">
			<?php if(!empty($error)):?>
			<?php 	foreach($error as $error_log): ?>
					<div><?php echo $error_log; ?></div>
			<?php
					endforeach;//endforeach
				endif;
			?>
		</div>
		<div id = "forgot_pass">
			<form method="POST" action="">
			<p>
				<label>Email</label><input type = "text" name = "login-username" id = "login-username" value="<?php echo (isset($_SESSION['post_data']['email']))? $_SESSION['post_data']['email']:'';?>"/>
				<?php unset($_SESSION['post_data']['email']);?>
			</p>
			<p><label>Password</label><input type = "password" name = "login-password" id = "login-password" /></p>
			<p id="p-remember"><input type = "checkbox" name = "checkbox" /> <span>Remeber Me</span></p>
			<p id="p-login-btn"><input type = "image" src="<?php echo base_url();?>assets/images/login.png" id="login-btn" alt = "Submit" width = "64" height = "27" /></p>
			<p class="a-extralinks"><a href="<?php echo base_url();?>forgot_password">Forgot Password?</a></p>
			<p class="a-extralinks"><a href = "<?php echo base_url();?>register">No Account? Register here.</a></p>
			</form>
		</div>
	</div>
</div>




